import { makeAutoObservable } from 'mobx';

class richer {
    avatar :string
    nickname : string
    worth : string
    nowworth : string

    setavatar(str :string){
        this.avatar = str
    }

    setnickname(str :string){
        this.nickname = str
    }

    setworth(str :string){
        this.worth = str
    }

    setnowworth(str :string){
        this.nowworth = str
    }

    constructor(){
        makeAutoObservable(this)
    }
}

export default new richer()